home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000031_news@columbia.edu _Thu Aug 5 01:46:38 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA26742
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Aug 1999 01:46:37 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA09600
  7.     for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Aug 1999 01:19:06 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Subject: Re: when are variables set?
  11. Date: 5 Aug 1999 05:19:03 GMT
  12. Organization: Columbia University
  13. Message-ID: <7ob6s7$9bt$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <eW0q3.206$yW1.227@newsfeed.slurp.net>,
  17. Glenn Sherman <gsherman@no_spam.m20.net> wrote:
  18. : I want to be able to make a decision in the k95custom.ini file.
  19. :    xif equal \v(SCRIPT_NAME) scriptname {
  20. : Is there a variable that contains the name of the dialer generated script?
  21.  
  22. There is no variable that contains the script to be executed in the
  23. future.  A scriptname variable would contain the name of the script
  24. that is currently executing which would be k95custom.ini.
  25.  
  26. If you know the order of the arguments on the command line 
  27. then you can use the Argument Vector Array to find the script name.
  28. See Using C-Kermit 2nd Edition page 353.
  29.  
  30.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  31.                  The Kermit Project * Columbia University
  32.               612 West 115th St #716 * New York, NY * 10025
  33.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org
  34.